#include "front_server.h"
#include "Log.h"

int front_server::start(){
	string name = "front";
	set_name(name);
/*	
	string ip = "199.155.122.11";
	string port = "44500";
	set_ip(ip);
	set_port(port);

	ip = "199.155.122.11";
	port = "44501";
	address addr(ip,port);
	add_gf_server(addr);
*/

/*
//to be continued
	name = "lf_extract";
	ip = "199.155.122.11";
	port = 44502;
	server *lf_server = new lf_server(name,ip,port);
	add_lf_server(lf_server);

	name = "tv_extract";
	ip = "199.155.122.11";
	port = 44503;
	server *tv_server = new tv_server(name,ip,port);
	add_tv_server(tv_server);
*/
	LOG_INFO_VA("[%s] server start", get_name().c_str());
	server::start();

	return 0;
}



